<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container{
            width: 600px;
            height: 500px;
            border: 1px solid black;
            display: flex;
            flex-direction: row;
            /* flex-wrap: wrap; */
            justify-content: center;
            gap: 10px;


        }
        .container .item{
            width: 150px;
            /* flex-basis: 150px; */
            /* flex-grow: 1; */
            height: 150px;
            background-color: pink;
            border: 1px solid;
            box-sizing: border-box;
            flex-shrink: 0;

        }
    </style>
</head>
<body>
    <div class="container">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>


    </div>
</body>
</html>